package com.htc.android.footprints.kml;

import java.util.HashMap;

public class KMLPlacemark
{
  public static final String EXT_ACCURACY = "accuracy";
  public static final String EXT_AUDIO = "audio";
  public static final String EXT_CATEGORY = "category";
  public static final String EXT_COMMENT = "comment";
  public static final String EXT_CREATE_TIME = "create_time";
  public static final String EXT_FOOTPRINT_ID = "footprintid";
  public static final String EXT_IMAGE = "image";
  public static final String EXT_RATE = "rate";
  public static final String EXT_VERSION = "version";
  public static final String EXT_WEBSITE = "website";
  public String address;
  private String description;
  public HashMap<String, String> extendData = new HashMap();
  public int latitudeE6;
  public int longitudeE6;
  public String name;
  public String phoneNumber;
  public final String style = "#iconStyle";
  public long when;

  public String getDescription()
  {
    StringBuilder localStringBuilder = new StringBuilder();
    localStringBuilder.append("<![CDATA[");
    String str1 = (String)this.extendData.get("image");
    if ((str1 != null) && (!str1.equals("")))
    {
      localStringBuilder.append("<img src=\"" + str1 + "\" width=\"192px\"/>");
      localStringBuilder.append("<br/>");
    }
    if (this.description != null)
      localStringBuilder.append(this.description);
    String str2 = (String)this.extendData.get("website");
    if ((str2 != null) && (!str2.equals("")))
      if (str2.startsWith("http"))
        break label208;
    label208: for (String str3 = "http://" + str2; ; str3 = str2)
    {
      localStringBuilder.append("<br/><a href=\"" + str3 + "\">");
      localStringBuilder.append(str2).append("</a>");
      localStringBuilder.append("]]>");
      return localStringBuilder.toString();
    }
  }

  public String getExtendData(String paramString)
  {
    return (String)this.extendData.get(paramString);
  }

  public String getOriginalDescription()
  {
    return this.description;
  }

  public void setExtendData(String paramString1, String paramString2)
  {
    this.extendData.put(paramString1, paramString2);
  }

  public void setTextDescription(String paramString)
  {
    this.description = paramString;
  }
}

/* Location:           E:\workspace\dex2java\dex-translator-0.0.9.3\HtcFootprints_dex2jar.jar
 * Qualified Name:     com.htc.android.footprints.kml.KMLPlacemark
 * JD-Core Version:    0.6.0
 */